package com.mz.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mz.demo.entity.SysRole;
import com.mz.demo.entity.vo.RoleQuery;
import com.mz.demo.entity.vo.RoleVo;
import com.mz.demo.utils.entity.PaginationVo;

import java.util.List;

public interface RoleService {
    void addRole(RoleVo roleVo);

    IPage getRolePagination(PaginationVo paginationVo, RoleQuery roleQuery);

    List<SysRole> getRolelist(RoleQuery roleQuery);

    void updateRoleInfo(RoleVo roleVo);

    void removeRoleById(Long roleId);
}
